import static org.junit.Assert.*;
import org.junit.Test;
import junit.framework.TestCase;


public class adentroBTest extends TestCase{

	@Test
	public void testAdentro() {
		MisilEnemigoB tester = new MisilEnemigoB();
		tester.CalculaIniciales();
		tester.CalculaVelocidad();
		tester.adentro();
		int actual=(int) Math.sqrt(((tester.getX()*tester.getX())+(tester.getY()*tester.getY())));
		assertTrue(actual<=10000);
		//fail("Not yet implemented");
	}

}
